<template>
	<sysJk :label="'3.总线式消防联动控制器的手动操作'" showBack :withoutTop="true" :leftTime="120">
		<template v-slot:content>
			<view class="warp" id="warp" @touchmove.stop="()=>{}">
			<template v-if="examType==1">
				<view class="taskTit" style="width:100%;font-size: 2.5vh;" v-if="showQuestion==1">
					【1/2】请通过总线盘远程启动排烟阀，并判断设备启动状态
				</view>
				<view class="taskTit" style="width:100%;font-size: 2.5vh;" v-else>
					【2/2】请通过总线盘远程启动防火卷帘，并判断设备启动状态
				</view>
			</template>
			<template v-else>
				<view class="taskTit" style="width:100%;font-size: 2.5vh;" v-if="showQuestion==1">
					【1/1】请通过总线盘远程启动{{fireFlag?'防火卷帘':'排烟阀'}}，并判断设备启动状态
				</view>
			</template>
				
				<view class="innerConetent" style="position:relative;height:100%;width:100%">
					<image :src="bUrl"  style="height:100%;width:100%;:block;"></image>
					<view class="myCard" style="position: absolute;left:0;top:0;height:100%;width:100%" id="myCard">
						<view class="cardContent">
							<image v-if="picIndex==2&&handleByAutoFlag" class="maskLight" style="position: absolute;" :src="requestUrl+'/static/image/green.png'" :style="{left:425*widthBl+'px',top:355*heightBl+'px',width:30*widthBl+'px',height:30*heightBl+'px'}"></image>
							<image v-if="picIndex==2&&!handleByAutoFlag" class="maskLight" style="position: absolute;" :src="requestUrl+'/static/image/back.png'" :style="{left:425*widthBl+'px',top:355*heightBl+'px',width:30*widthBl+'px',height:30*heightBl+'px'}"></image>
							<image v-if="picIndex==2&&handleBySelfFlag" class="maskLight" style="position: absolute;" :src="requestUrl+'/static/image/green.png'" :style="{left:425*widthBl+'px',top:390*heightBl+'px',width:30*widthBl+'px',height:30*heightBl+'px'}"></image>
							<image v-if="picIndex==2&&!handleBySelfFlag" class="maskLight" style="position: absolute;" :src="requestUrl+'/static/image/back.png'" :style="{left:425*widthBl+'px',top:390*heightBl+'px',width:30*widthBl+'px',height:30*heightBl+'px'}"></image>
							
							<view class="writeBox" id="writeBox" v-if="picIndex==1"
								:style="{left:writeBoxLeft,top:writeBoxTop,width:'auto',height:'auto'}" @tap="showDialog">
								<image src="https://www.xfzsb.com/static/image/open.png" mode="widthFix"
									style="width:20px"></image>
							</view>
							<view class="writeBox2" id="writeBox2" v-if="picIndex==1"
								:style="{left:writeBox2.left,top:writeBox2.top,width:'auto',height:'auto'}" @tap="showImg2">
								<image src="https://www.xfzsb.com/static/image/open.png" mode="widthFix"
									style="width:20px"></image>
							</view>
							<view class="writeBox"  v-if="picIndex==2" :style="{left:750*widthBl+'px',top:655*heightBl+'px',width:'auto',height:'auto'}">
								<image src="https://www.xfzsb.com/static/image/open.png" mode="widthFix" style="width:20px"  @tap="openPrint"></image>
							</view>
							<view class="printBox" :style="{zIndex:9,padding:'0 '+20*widthBl+'px 0',position:'absolute',left:625*widthBl+'px',bottom:320*heightBl+'px',fontSize:'2vh',background:'#fff',color:'#000',minHeight:500*heightBl+'px',minWidth:300*widthBl+'px'}" v-if="picIndex==2&&printOpen">
								<view style="text-align: right;">
									<image src="https://www.xfzsb.com/static/image/close.png" mode="widthFix" :style="{width:20+'px'}"  @tap="printOpen=false"></image>
								</view>
								<view class="" v-if="printOpen&&lightFlag">
									<view class="">
										{{showDate}}
									</view>
									<view class="">
										{{(showQuestion==1&&!fireFlag)?'排烟阀':'防火卷帘'}} 启动
									</view>
								</view>
								<view class="" v-if="printOpen&&lightFlag&&isReturnFlag" >
									<view class="">
										{{showDate}}
									</view>
									<view class="">
										{{(showQuestion==1&&!fireFlag)?'排烟阀':'防火卷帘'}} 已反馈
									</view>
								</view>
								<view class="" v-if="printOpen&&lightFlag&&!isReturnFlag" >
									<view class="">
										{{showDate}}
									</view>
									<view class="">
										{{(showQuestion==1&&!fireFlag)?'排烟阀':'防火卷帘'}} 未反馈
									</view>
								</view>
							</view>
							<view class="writeBox" v-if="picIndex==2" id="timeBox" :style="{left:380*widthBl+'px',top:90*heightBl+'px',width:215*widthBl+'px',height:75*heightBl+'px'}"  style="text-align: center;">
								<text style="color:red">{{showTime}}</text> 
							</view>
							<view class="writeBox3" id="writeBox3" v-if="picIndex!=1"
								:style="{right:100*widthBl+'px',top:70*heightBl+'px',width:'auto',height:'auto'}">
								<image src="https://www.xfzsb.com/static/image/close.png" mode="widthFix"  @tap="closeImg"
									style="width:20px"></image>
							</view>
							<view class="writeBox" id="writeBox4" v-if="picIndex==3&&!lightFlag&&handleBySelfFlag"
								:style="{left:705*widthBl+'px',top:((showQuestion==1&&!fireFlag)?220*heightBl:85*heightBl)+'px',width:30*widthBl+'px',height:30*heightBl+'px'}" @tap="lightFlag=true">
								<!-- <image src="https://www.xfzsb.com/static/image/close.png" mode="widthFix"
									style="width:20px"></image> -->
							</view>
							<view class="writeBox"  v-if="picIndex==3&&lightFlag"
								:style="{left:620*widthBl+'px',top:((showQuestion==1&&!fireFlag)?230*heightBl:95*heightBl)+'px',width:65*widthBl+'px',height:25*heightBl+'px',justifyContent:'space-between'}"  >
								<view class="circle" :style="{width:25*widthBl+'px',height:25*heightBl+'px',background:'red',borderRadius:'50%'}">
									
								</view>
								
								<view class="circle" :style="{width:25*widthBl+'px',height:25*heightBl+'px',background:'red',borderRadius:'50%'}" v-if="isReturnFlag">
									
								</view>
							</view>
							<view class="redCircle" v-if="lightFlag&&picIndex==2" style="position: absolute;border-radius: 50%;background: red;" :style="{left:825*widthBl+'px',top:140*heightBl+'px',width:20*widthBl+'px',height:20*heightBl+'px'}">
								
							</view>
							<view class="redCircle" v-if="lightFlag&&picIndex==2&&isReturnFlag" style="position: absolute;border-radius: 50%;background: red;" :style="{left:825*widthBl+'px',top:290*heightBl+'px',width:20*widthBl+'px',height:20*heightBl+'px'}">
								
							</view>
							<view class="writeBox"  v-if="picIndex==2&&lightFlag" :style="{left:1130*widthBl+'px',top:470*heightBl+'px',width:85*widthBl+'px',height:40*heightBl+'px'}" @tap="F2Flag=true"></view>
							<view class="writeBox"  v-if="picIndex==2&&lightFlag" :style="{left:1520*widthBl+'px',top:470*heightBl+'px',width:85*widthBl+'px',height:40*heightBl+'px'}" @tap="changeF6"></view>
							<view class="showInfoBox" id="showInfoBox" v-if="picIndex==2&&!lightFlag"
								:style="{left:showInfoBox.left,top:showInfoBox.top,width:510*widthBl+'px',paddingTop:30*heightBl+'px'}"
								@tap="showDialog">
								<view class="" style="display: flex;justify-content: space-between;">
									<view class=""
										:style="{width:350*widthBl+'px',textAlign:'center',height:200*heightBl+'px',lineHeight:200*heightBl+'px'}">
										正常监控状态
									</view>
									<view class="" :style="{width:150*widthBl+'px',height:200*heightBl+'px',padding:10*widthBl+'px',boxSizing:'border-box',paddingBottom:0}" style="display:flex;flex-direction:column;justify-content: space-between;">
										<view class="" :style="{height:80*heightBl+'px',fontSize:'0.5vw'}">
											<view class="">
												正常 运行
											</view>
											<view class="">
												手动： {{handleBySelfFlag?'允许':'禁止'}}
											</view>
											<view class="">
												自动：允许
											</view>
										</view>
										<view class=""  id="timechangeBox" style="text-align: center;color:#fff" :style="{fontSize:'1vh'}">
											<view class="dateInfo">
												{{formatTime(new Date(),'yyyy-MM-dd')}}
											</view>
											<view class="timeInfo">
												{{changedTime}}
											</view>
										</view>
									</view>
								</view>
								<view class="" style="color:#fff" :style="{fontSize:1.5+'vh'}">
									F1查火警 F2查启动 F3查故障 F4查监管 F5查屏蔽 F6查反馈
								</view>
							</view>
							<view class="showInfoBox" id="showInfoBox" v-if="picIndex==2&&lightFlag"
								:style="{left:showInfoBox.left,top:showInfoBox.top,width:510*widthBl+'px',}"
								@tap="showDialog">
								<view class="" style="color:#fff" :style="{height:30*heightBl+'px'}" v-if="!F6Flag">
									启动信息
								</view>
								<view class="" style="color:#fff" :style="{height:30*heightBl+'px'}" v-if="F6Flag">
									反馈信息
								</view>
								<view class="" style="display: flex;">
									<view class="">
										
										<view class=""
											:style="{width:350*widthBl+'px',textAlign:'center',height:200*heightBl+'px',}"
											style="display: flex;flex-direction: column;justify-content: flex-start;" >
											<view class="" style="text-align:left" v-if="showQuestion==1&&!fireFlag">
												<text v-if="F6Flag&&isReturnFlag"> {{showDate}} 排烟阀，已反馈</text>
												<text v-if="F6Flag&&!isReturnFlag"> {{showDate}} 排烟阀，未反馈</text>
												<text v-if="!F6Flag">{{showDate}} 排烟阀，已启动</text>
											</view> 
											<view class="" style="text-align:left" v-if="showQuestion==2||(fireFlag&&showQuestion==1)">
												<!-- {{showDate}} 防火卷帘，{{F6Flag?'已反馈':'启动'}} -->
												<text v-if="F6Flag&&isReturnFlag"> {{showDate}} 防火卷帘，已反馈</text>
												<text v-if="F6Flag&&!isReturnFlag"> {{showDate}} 防火卷帘，未反馈</text>
												<text v-if="!F6Flag">{{showDate}} 防火卷帘，已启动</text>
											</view> 
										</view>
									</view>
									
									<view class="" :style="{width:150*widthBl+'px',height:200*heightBl+'px',padding:10*widthBl+'px',boxSizing:'border-box',paddingBottom:0}" style="display:flex;flex-direction:column;justify-content: space-between;">
										<view class="" :style="{height:80*heightBl+'px'}">
											<view class="">
												正常 运行
											</view>
											<view class="">
												手动： 允许
											</view>
											<view class="">
												自动：{{handleByAutoFlag?'允许':'禁止'}}
											</view>
										</view>
										<view class=""  id="timechangeBox" style="text-align: center;color:#fff" :style="{fontSize: '1vh'}">
											<view class="dateInfo">
												{{formatTime(new Date(),'yyyy-MM-dd')}}
											</view>
											<view class="timeInfo">
												{{changedTime}}
											</view>
										</view>
									</view>
								</view>
								<view class="" style="color:#fff" :style="{fontSize:1.5+'vh'}" v-if="!F2Flag&&!F6Flag">
									F1查火警 F2查启动 F3查故障 F4查监管 F5查屏蔽 F6查反馈
								</view>
								<view class="" style="color:#fff" :style="{fontSize:1.5+'vh'}" v-else>
									F1页 001 F2 上一页 F3 下一页                    F6退出
								</view>
							</view>
							
							<view class="handleBySelf handleAction"
								:style="{width:80*widthBl+'px',height:40*heightBl+'px',left:1616*widthBl+'px',top:470*heightBl+'px'}"
								@tap="changeFlag(1)">

							</view>
							<view class="handleByAuto handleAction"
								:style="{width:80*widthBl+'px',height:40*heightBl+'px',left:1620*widthBl+'px',top:540*heightBl+'px'}"
								@tap="changeFlag(2)">

							</view>
							<view class="answerBox" :style="{width:345*widthBl-35+'px'}">
								<view class="answerTit" v-if="showQuestion==1">
									请通过总线盘远程启动{{fireFlag?'防火卷帘':'排烟阀'}}
								</view>
								<view class="answerTit" v-else>
									请通过总线盘远程启动防火卷帘
								</view>
								
								<view class="answerSelect">
									判断联动设备动作情况，选择正确答案
									<radio-group @change="onChange">
										<label class="uni-list-cell uni-list-cell-pd" v-for="item in items"
											:key="item.value" style="display: flex;margin-bottom: 5px;align-items: flex-start;">
											<view style="display: flex;align-items: flex-start;justify-content: center;">
												<radio :value="item.value" :checked="result==item.value" :style="{transform:'scale('+widthBl+')'}"/>
											</view>
											<view>{{item.name}}</view>
										</label>
									</radio-group>
								</view>
							</view>
						</view>
					</view>

				</view>
				<view class="handleBtn">
								<!-- <u-button color="#1E90FF	" custom-style="width:100rpx;height:30rpx;border-radius:10rpx;margin-right:10px" @tap="lastTask">上一题</u-button> -->
								<u-button :custom-style="{width:'100rpx',height:'30rpx',borderRadius:'10rpx',marginRight:'10px',background:'green',color:'#fff',fontSize:'3vh'}" v-if="examType==1" @click="showFlag=true">查看解析</u-button>
								<!-- <u-button color="#1E90FF	" custom-style="width:100rpx;height:30rpx;border-radius:10rpx;margin-right:10px" @tap="nextTask">下一题</u-button> -->
							</view>
							<view class="btnArea">
								<u-button :custom-style="{width:'100rpx',height:'30rpx',borderRadius:'10rpx',marginRight:'10px',background:'#1E90FF',color:'#fff',fontSize:'3vh'}" @click="handleData">提交</u-button>
								<u-button :custom-style="{width:'100rpx',height:'30rpx',borderRadius:'10rpx',marginRight:'10px',background:'#1E90FF',color:'#fff',fontSize:'3vh'}" @click="redo">重做</u-button>
								<u-button :custom-style="{width:'100rpx',height:'30rpx',borderRadius:'10rpx',marginRight:'10px',background:'#1E90FF',color:'#fff',fontSize:'3vh'}" @click="goBack">返回</u-button>
							</view>
				<u-mask :show="showFlag" @click="onClickHide" >
					<view class="wrapper" style="display: flex;align-items: center;justify-content: center;height:100%">
						<view class="block" style="width:400rpx;padding: 20rpx;box-sizing:border-box;background: #fff;font-size:2vh">
							<view class="overtitle">
								【试题解析】 正确答案
							</view>
							<view class="overtitle">
								{{analysList}}
							</view>
							<view class="overtitle">
								正确答案：启动信号已发出设备{{isReturnFlag?'已反馈':'未反馈'}}
							</view>
							
						</view>
					</view>
				</u-mask>
			</view>

		</template>
	</sysJk>

</template>

<script>
	import sysJk from '@/components/sysJk.vue'
	import {formatTime} from '@/util/index.js'
	import {
		fzQuestion
	} from '@/globalApi/requestApi.js'
	const app = getApp();
	const baseUrl = app.globalData.requestUrl;
	export default {
		components: {
			sysJk
		},
		data() {


			return {
				// widthBl:0,
				// heightBl:0,
				showQuestion:1,
				fireFlag:false,
				formatTime,
				examType: 1,
				printOpen:false,
				handleBySelfFlag: false,
				handleByAutoFlag: true,
				writeBox: {width:0,height:0},
				writeBoxLeft: 0,
				writeBoxTop: 0,
				widthBl: null,
				heightBl: null,
				showFlag: false,
				F2Flag:false,
				F6Flag:false,
				result: null,
				showInfoBox: {
					right: 0,
					top: 0
				},
				writeBox2: {
					right: 0,
					top: 0
				},
				bUrl: baseUrl + "/static/image/jk/8-1.jpg",
				picIndex: 1,
				items: [{
						value: "启动信号已发出设备未反馈",
						checked: false,
						name: "启动信号已发出设备未反馈",
					},
					{
						value: "启动信号已发出设备已反馈",
						checked: false,
						name: "启动信号已发出设备已反馈",
					},


				],
				analysList: '总线启动设备是需要控制器在手动允许状态下才能操作。启动设备后需要回到控制器上查启动，在查反馈。该题与自动状态是允许还是禁止无关，更与多线盘的钥匙无关',
				lightFlag:false,
				showDate:null,
				showTime:null,
				changedTime:null,
				allScore:0,
				requestUrl:baseUrl,
				isReturnFlag:true
			}
		},
		onLoad(options) {
			this.examType = options.examType
			this.isReturnFlag = Math.random()>=0.5
			if(this.examType==2){
				this.fireFlag = Math.random()>=0.5
			}
			// var writeBox = uni.createSelectorQuery().in(this).select('#writeBox')
			// writeBox.boundingClientRect(data => {
			// 	this.writeBox = data
			// }).exec()

		},
		onReady() {
			this.drawWhiteBox()
			this.createTime()
		},
		methods: {
			openPrint(){
				this.printOpen = true
			},
			createTime(){
				// this.showTime=this.formatTime(new Date(),'yy/MM/dd HH:mm:ss')
				let that = this
				// this.showTime = this.formatTime(new Date(),'HH:mm')
				this.showDate = this.formatTime(new Date(),'yy/MM/dd HH:mm:ss')
				setInterval(function(){
						that.showTime = that.formatTime(new Date(),'HH:mm')
						that.changedTime = that.formatTime(new Date(),'HH:mm:ss')
				},1000)
			},
			changeF6(){
				if(this.F2Flag){
					this.F2Flag=false
					this.F6Flag = false
				}else{
					if(!this.F6Flag){
						this.F6Flag = true
					}else{
						this.F6Flag = false
					}
				}
				this.showDate = this.formatTime(new Date(),'yy/MM/dd HH:mm:ss')
			},
			redo(){
				this.result = null
				this.handleBySelfFlag= false
				this.handleByAutoFlag= false
				this.bUrl=baseUrl + "/static/image/jk/8-1.jpg"
				this.F2Flag = false
				this.F6Flag = false
				this.isReturnFlag = Math.random()>=0.5
				this.picIndex= 1
				if(this.examType==2){
					this.fireFlag = Math.random()>=0.5
				}
				this.lightFlag = false
				this.printOpen = false
			},
			goBack() {
				uni.navigateBack()
			},
			onChange(e) {
				// console.log(e.detail.value)
				this.result = e.detail.value
			},
			handleData() {
				let that = this
				this.$showModal2({
					title: '确认提交？'
				}).then(()=>{
				
							if(!that.result){
								uni.showToast({
									title:'请选择答案',
									icon:'none'
								})
								return
							}
							fzQuestion({
								fz_id: that.examId,
								title: '请通过总线盘远程启动防火卷帘，并判断设备启动状态',
								no: '8-1',
								question_type: 1,
								user_answer: that.result,
								answer: '',
								is_correct: that.result==that.items[1].value?true:false,
								score: that.result==that.items[1].value?3:0,
								start_time: '',
								end_time: '',
								question_answer: ''
							}).then(res => {
								if (res.code == 200) {
									// uni.navigateTo({
									// 	url:'../jkI/jkI?examId='+that.examId
									// })
									if(that.examType==1){
										if(that.showQuestion==1){
											that.allScore+=that.result==that.items[1].value?3:0
											that.redo()
											that.showQuestion+=1
										}else{
											let pages = getCurrentPages()
											let prevPage = pages[pages.length - 2]
											prevPage.$vm.status3 = true
											prevPage.$vm.addScore(that.allScore)
											uni.navigateBack()
										}
									}else{
										
										that.allScore+=(that.result==('启动信号已发出设备'+(that.isReturnFlag?'已反馈':'未反馈')))?3:0
										let pages = getCurrentPages()
										let prevPage = pages[pages.length - 2]
										prevPage.$vm.status3 = true
										prevPage.$vm.addScore(that.allScore)
										uni.navigateBack()
									}
									
									
								}
							})
					
				});
			},
			closeImg() {
				this.bUrl = baseUrl + "/static/image/jk/8-1.jpg"
				this.printOpen = false
				this.picIndex = 1
			},
			changeFlag(type) {
				if (type == 1) {
					console.log(1)
					this.handleBySelfFlag = !this.handleBySelfFlag
				} else {
					this.handleByAutoFlag = !this.handleByAutoFlag
				}
			},
			showDialog() {
				// this.showFlag = true
				this.bUrl = baseUrl + "/static/image/jk/8-2.jpg"
				this.picIndex = 2
			},
			showImg2() {
				this.bUrl = baseUrl + "/static/image/jk/8-3.jpg"
				this.picIndex = 3
			},
			onClickHide() {
				this.showFlag = false
			},
			drawWhiteBox() {
				let that = this
				var warp = uni.createSelectorQuery().in(this).select('#myCard')
				warp.boundingClientRect(data => {
					var widthBl = data.width / 1920
					var heightBl = data.height / 921
					this.widthBl = widthBl
					this.heightBl = heightBl
					this.writeBox.width = 100 * widthBl + 'px'
					this.writeBoxLeft = 650 * widthBl + 'px'
					this.writeBoxTop = 450 * heightBl + 'px'
					this.writeBox.height = 100 * heightBl + 'px'
					this.showInfoBox.left = 1121 * widthBl + 'px'
					this.showInfoBox.top = 95 * heightBl + 'px'
					this.writeBox2.left = 850 * widthBl + 'px'
					this.writeBox2.top = 450 * heightBl + 'px'
				}).exec()

				// uni.getSystemInfo({
				// 	success: function(res) {
				// 		console.log(res)
				// 		

				// 	}
				// });
			},
			nextTask() {
				uni.navigateTo({
					url: '../jkG/jkG'
				})
			},
			lastTask() {
				uni.navigateBack()
			}
		}
	}
</script>


<style scoped lang="scss">
	.warp {
		height: 100%;
		box-sizing: border-box;
		position: relative;
		// padding: 22rpx 33rpx 38rpx 36rpx;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		background: #F6F6F6;

		.handleAction {
			// border:1px solid orange;
			// background:yellow;
			position: absolute;
		}

		.myCard {
			width: 100%;
			height: 100%;
			position: absolute;
			left: 0;
			top: 0;
			// border-radius: 20rpx;
			// overflow: hidden;
			// z-index: 1;

			.cardContent {
				// padding: 52rpx 58rpx 37rpx;
				box-sizing: border-box;
				width: 100%;
				height: 100%;
				position: relative;
				// z-index: 2;
				color: #fff;

				.moneyContent {
					margin-top: 54rpx;
					width: 100%;
					display: flex;
					align-items: center;

					.moneyDetail {
						width: 50%;
						display: flex;
						flex-direction: column;
						align-items: center;
						justify-content: flex-start;

						.detailTit {
							font-size: 24rpx;
							font-weight: 400;
						}

						.detailVal {
							font-size: 55rpx;
							font-weight: bold;
							margin-top: 35rpx;
						}
					}

				}

				.taskTit {
					width: 100%;
					text-align: left;
					background: #fff;
					color: #000
				}

				
			}
		}
.handleBtn {
					position: fixed;
					left: 30px;
					bottom: 0px
				}

				.btnArea {
					margin-top: 160rpx;
					//margin-left: 150rpx;
					display: flex;
					justify-content: center;
					position: fixed;
					right: 30px;
					bottom: 0px // text-align: center;
				}
		.infoBox {
			width: 100%;
			padding: 14rpx 30rpx;
			margin-top: 33rpx;
			border-radius: 20rpx;
			box-sizing: border-box;
			background: #fff;

			.singleInfo {
				width: 100%;
				box-sizing: border-box;
				padding: 20rpx 0;
				display: flex;
				align-items: center;
				justify-content: space-between;
				border-bottom: 1rpx solid #ccc;

				.info {
					flex: 1;

					.desc {
						font-size: 26rpx;
						font-weight: 400;
						color: #222222;
					}

					.time {
						margin-top: 15rpx;
						font-size: 18rpx;
						font-weight: 400;
						color: #888888;
						display: flex;
						align-items: center;
					}
				}

				.val {
					width: 115rpx;
					height: 40rpx;
					border: 1rpx solid #DA2627;
					border-radius: 40rpx;
					text-align: center;
					font-size: 22rpx;
					font-weight: 400;
					color: #DA2627;
					line-height: 40rpx;
				}
			}
		}

		.writeBox {
			width: 100px;
			height: 100px;
			position: absolute;
			display: flex;
			align-items: center;
			justify-content: center
		}

		.writeBox2 {
			width: 100px;
			height: 100px;
			position: absolute;
			display: flex;
			align-items: center;
			justify-content: center
		}

		.writeBox3 {
			width: 60px;
			height: 60px;
			position: absolute;
			display: flex;
			align-items: center;
			justify-content: center
		}

		.answerBox {
			position: absolute;
			left: 35px;
			top: 0%;
			font-size: 2vh;
			background: #fff;
			color: #000;
			// width: 25%;

			.answerTit {
				background: orange
			}
		}

		.answerSelect {
			padding: 10px 0;
			box-sizing: border-box;
		}

		.showInfoBox {
			position: absolute;
			// background: #fff;
			color: #000;
			font-size: 1.5vh;
		}
	}
</style>